package com.syedu.cels.dao;

import com.syedu.cels.entity.Exam;
import com.syedu.cels.entity.Result;
import com.syedu.cels.entity.Vocabulary;
import com.syedu.cels.entity.Word;
import com.syedu.cels.exception.VocabularyFileNotFoundException;
import com.syedu.cels.exception.WordFileNotFoundException;

import java.util.List;

/**
 * @author easonsy
 * @Description
 * @createTime 2022/03/21 23:22:00
 */
public interface BaseDao {
    List<Word> selectAllWord() throws WordFileNotFoundException;
    List<Vocabulary> selectAllVocabularies () throws VocabularyFileNotFoundException;
    List<Exam> generateTestPaper();
    void collectResult(Result result);
}
